/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package propres;

/**
 *
 * @author david
 */
public class cargaclient {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws Exception {
     g_disco disc = new g_discop();
     cliente c = new cliente();
     c.Modificar_Cliente("David", "Glez", 1, "a3");
      cliente c1 = new cliente();
     c1.Modificar_Cliente("Michaeliño", "Delgadiño", 2, "12das");
     cliente c2 = new cliente();
     c2.Modificar_Cliente("Alberto", "ple", 3, "lol");
      cliente c3 = new cliente();
     c3.Modificar_Cliente("Roberto", "pla", 4, "12s");
     cliente c4 = new cliente();
     c4.Modificar_Cliente("Filipe", "molle", 5, "1lol");
     cliente c5 = new cliente();
     c5.Modificar_Cliente("Marta", "poi", 6, "12es");
     cliente c6 = new cliente();
     c6.Modificar_Cliente("Chikili", "cuatre", 7, "12l");
     cliente c7 = new cliente();
     c7.Modificar_Cliente("Laura", "Carl", 8, "1po");
     cliente c8 = new cliente();
     c8.Modificar_Cliente("Fil", "mole", 9, "1lol");
     cliente c9 = new cliente();
     c9.Modificar_Cliente("Sara", "psps", 10, "1ees");
     cliente c10 = new cliente();
     c10.Modificar_Cliente("Chikilicua", "cuatre",11, "1e2l");
     cliente c11 = new cliente();
     c11.Modificar_Cliente("Rodolfo", "Chiki",12, "1peo");
     
     estrucliente est= new estrucliente();
     est.añadir_cliente(c);
     est.añadir_cliente(c1);
     est.añadir_cliente(c2);
     est.añadir_cliente(c3);
     est.añadir_cliente(c4);
     est.añadir_cliente(c5);
     est.añadir_cliente(c6);
     est.añadir_cliente(c7);
     est.añadir_cliente(c8);
     est.añadir_cliente(c9);
     est.añadir_cliente(c10);
     est.añadir_cliente(c11);
    disc.guardar_objecte(est);
    }

}
